package com.woniuxy.common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MarketOrder {
    private String id;

    private String commodityId;
    private MarketCommodity commodity;

    private Integer status;

    private Date date;

    private Long freight;

    private Long sumprice;

    private String senduserPhone;

    private String senduserAddress;

    private String senduserId;
    private CenterUser senduser;

    private String buyuserPhone;

    private String buyuserAddress;

    private String buyuserId;
    private CenterUser buyuser;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Long getFreight() {
        return freight;
    }

    public void setFreight(Long freight) {
        this.freight = freight;
    }

    public Long getSumprice() {
        return sumprice;
    }

    public void setSumprice(Long sumprice) {
        this.sumprice = sumprice;
    }

    public String getSenduserPhone() {
        return senduserPhone;
    }

    public void setSenduserPhone(String senduserPhone) {
        this.senduserPhone = senduserPhone;
    }

    public String getSenduserAddress() {
        return senduserAddress;
    }

    public void setSenduserAddress(String senduserAddress) {
        this.senduserAddress = senduserAddress;
    }

    public String getSenduserId() {
        return senduserId;
    }

    public void setSenduserId(String senduserId) {
        this.senduserId = senduserId;
    }

    public String getBuyuserPhone() {
        return buyuserPhone;
    }

    public void setBuyuserPhone(String buyuserPhone) {
        this.buyuserPhone = buyuserPhone;
    }

    public String getBuyuserAddress() {
        return buyuserAddress;
    }

    public void setBuyuserAddress(String buyuserAddress) {
        this.buyuserAddress = buyuserAddress;
    }

    public String getBuyuserId() {
        return buyuserId;
    }

    public void setBuyuserId(String buyuserId) {
        this.buyuserId = buyuserId;
    }
}